package com.hyh.admin.mapper.resources;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hyh.admin.domain.resources.Resources;
import com.hyh.admin.domain.resources.ResourcesComment;
import com.hyh.admin.domain.resources.ResourcesViews;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ResourcesViewsMapper extends BaseMapper<ResourcesViews> {
    /**
     * 查询历史资源记录
     * @param  userId
     * @return
     */
    List<Resources> selectResourcesViewsByUserId(Long userId);
}
